<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="application/javascript">
			function checkStorageSupport(){
				if(window.sessionStorage){
					console.log('support sessionStorage!');
				}else{
					console.log('not support sessionStorage!');
				}

				if(window.localStorage){
					console.log('support localStorage!');
				}else{
					console.log('not support localStorage!');
				}
			}

			window.onload = function(){
				checkStorageSupport();
			}
		</script>
	</head>
	<body>
	<div><script language="javascript">

	</script></div></body>
</html>
